<template>
	<view class="get-video-warp">
		<view class="get-video-button" @click="getVideo" v-if="!isSendVideo">求视频讲解</view>
		<view class="get-video-button-end" v-else>后台已记录，出视频提醒您哦~</view>
	</view>

</template>

<script>
	export default {
		props: {
			isSendVideo: {
				type: Boolean,
				default: false
			},
		},
		data() {
			return {

			}
		},
		methods: {
			getVideo() {
				this.$emit('getVideo')
			}
		}
	}
</script>

<style scoped lang="scss">
	.get-video-warp {
		width:80%;
		margin:60rpx auto 0 auto;
		.get-video-button {
			background-color: #acacac;
			height: 80rpx;
			line-height: 80rpx;
			color: #fff;
			text-align: center;
		}

		.get-video-button-end {
			background-color: #d9f690;
			height: 80rpx;
			line-height: 80rpx;
			color: #495b1d;
			text-align: center;
		}
	}
</style>
